package com.huanletao.spring.aop;

import com.huanletao.proxy.jdkproxy.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * description: LoginController <br>
 * date: 2022/6/27 9:33 <br>
 * author: 踏雪无痕 <br>
 * version: 1.0 <br>
 */
@Controller
public class LoginController {
    @Autowired
    private LoginService loginService;

    public void login(String username,String password){
        String login = loginService.login(username, password);
        System.out.println("login = " + login);
    }
}
